<?php
class Zend_Lvl_Paginator{
	public function paginator($data, $CountPerPage, $pageRange, $currentPage){
		$paginator = Zend_Paginator::factory($data);
		$paginator->setItemCountPerPage($CountPerPage);
		$paginator->setPageRange($pageRange);
		$paginator->setCurrentPageNumber($currentPage);
		return $paginator;
	}
}